import request from "@/utils/request";
import type { Log } from "./type";

export const createLog = (log: Log) => {
    return request.post("/log/create", log);
}

export const getVisitTimestamp = () => {
    return request.get("/log/visit/timestamp");
}

export const getVisitCount = () => {
    return request.get("/log/visit/count");
}